package org.brisling.ethic.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
自评题目设置
 * @author jacksonWang
 * @since 1.0
 * @version 1.0
 * @Date 2016-4-6
 */

@Entity
@Table(name=ConstSysParam.MODULE_ETHIC_DICSUBJECT)
public class DicSubject extends BaseDomain implements BaseDomainInf{

	
	//创建时间
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date createat;
	
	//启用状态
	private String is_valid;
	
	//项目类别
	private String item_id;
	
	@Transient
	private String item_name;
	
	
	private String seq_num;
	
	//题目内容
	private String sub_content;
	
	private String sub_id;
	
	//自评分值
	private String sub_score;
	
	@Transient
	private String sub_typ;

	public Date getCreateat() {
		return createat;
	}

	public void setCreateat(Date createat) {
		this.createat = createat;
	}

	public String getIs_valid() {
		return is_valid;
	}

	public void setIs_valid(String is_valid) {
		this.is_valid = is_valid;
	}

	public String getItem_id() {
		return item_id;
	}

	public void setItem_id(String item_id) {
		this.item_id = item_id;
	}

	public String getSeq_num() {
		return seq_num;
	}

	public void setSeq_num(String seq_num) {
		this.seq_num = seq_num;
	}

	public String getSub_content() {
		return sub_content;
	}

	public void setSub_content(String sub_content) {
		this.sub_content = sub_content;
	}

	public String getSub_id() {
		return sub_id;
	}

	public void setSub_id(String sub_id) {
		this.sub_id = sub_id;
	}

	public String getSub_score() {
		return sub_score;
	}

	public void setSub_score(String sub_score) {
		this.sub_score = sub_score;
	}

	public String getSub_typ() {
		return sub_typ;
	}

	public void setSub_typ(String sub_typ) {
		this.sub_typ = sub_typ;
	}

	public String getItem_name() {
		return item_name;
	}

	public void setItem_name(String item_name) {
		this.item_name = item_name;
	}
	
	
							
}
